Long-Run Cost Analysis by Approximation of Linear Operators over Dioids
نویسندگان
چکیده
We present a static analysis technique for modeling and approximating the long-run resource usage of programs. The approach is based on a quantitative semantic framework where programs are represented as linear operators over dioids. We show how to extract the long-run cost of a program from the matrix representation of its semantics. An essential contribution is to provide abstraction techniques which make it feasible to compute safe overapproximations of this cost. A theorem is proved stating that such abstractions yield correct approximations of the program’s long-run cost. The theoretical developments are illustrated on a concrete example taken from the analysis of the cache behaviour of a simple bytecode language. Key-words: Programming Language Semantics, Static Analysis, Resource Analysis, Long-Run Cost, Dioids ∗ ENS Cachan/CNRS † CNRS ‡ INRIA § CNRS/DGA in ria -0 01 82 33 8, v er si on 4 25 J an 2 00 8 Analyse de coût moyen par approximation d’opérateurs linéaires sur des diöıdes Résumé : Nous présentons une technique d’analyse statique pour modéliser et calculer de façon approchée l’utilisation asymptotique moyenne de ressources par un programme. L’approche se fonde sur un modèle de sémantique quantitative où les programmes sont représentés par des opérateurs linéaires sur un diöıde. Nous montrons comment extraire le coût moyen asymptotique d’un programme de la représentation matricielle de sa sémantique. Une contribution essentielle consiste à fournir des techniques d’abstraction permettant de calculer effectivement une surapproximation de ce coût. Nous prouvons que de telles abstractions fournissent des approximations correctes. Nous illustrons ces notions sur un exemple d’analyse de défauts de cache pour un langage simple de bytecode. Mots-clés : Sémantique des langages de programmation, analyse statique, analyse de consommation de ressources, coût moyen asymptotique, diöıdes in ria -0 01 82 33 8, v er si on 4 25 J an 2 00 8 Long-Run Cost Analysis 3
منابع مشابه
On the approximation by Chlodowsky type generalization of (p,q)-Bernstein operators
In the present article, we introduce Chlodowsky variant of $(p,q)$-Bernstein operators and compute the moments for these operators which are used in proving our main results. Further, we study some approximation properties of these new operators, which include the rate of convergence using usual modulus of continuity and also the rate of convergence when the function $f$ belongs to the class Li...
متن کاملKernels, Images and Projections in Dioids
We consider the projection problem for linear spaces and operators over dioids such as the (max,+) semiring. We give existence and uniqueness conditions for the projection onto the image of an operator, parallel to the kernel of another one, together with an explicit formula for the projector. The theory is not limited to linear operators: the result holds more generally for residuated operator...
متن کاملAn Enhanced Finite Element method for Two Dimensional Linear Viscoelasticity using Complex Fourier Elements
In this paper, the finite element analysis of two-dimensional linear viscoelastic problems is performed using quadrilateral complex Fourier elements and, the results are compared with those obtained by quadrilateral classic Lagrange elements. Complex Fourier shape functions contain a shape parameter which is a constant unknown parameter adopted to enhance approximation’s accuracy. Since the iso...
متن کاملImproving Long Run Marginal Cost based Pricing along with Extended Benefit Factor method for Revenue Reconciliation of Transmission Network in Restructured Power System
Abstract : There are several methods to cover the costs of a transmission system and distribution networks. These methods are divided into either incremental or marginal approaches, which can be either long-term or short-term. The main difference between the incremental and marginal approach is how to calculate the cost of using the network. In the incremental approach, simulation and in the ma...
متن کاملDynamic Harmonic Analysis of Long Term over Voltages Based on Time Varying Fourier series in Extended Harmonic Domain
Harmonics have become an important issue in modern power systems. The widespread penetration of non-linear loads to emerging power systems has turned power quality analysis into an important operation issue under both steady state and transient conditions. This paper employs an Extended Harmonic Domain (EHD) based framework for dynamic analysis of long term analysis over voltages during the tra...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Mathematical Structures in Computer Science
دوره 20 شماره
صفحات -
تاریخ انتشار 2008